package cevent.source.cloudcenter.gateway.filter;/**
 * Created by Cevent on 2021/5/20.
 */

import org.springframework.cloud.gateway.filter.GatewayFilter;
import org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author cevent
 * @description 系统过滤器生成
 * @date 2021/5/20 8:51
 */
@Component
public class EmployeeLoginGatewayFilterFactory extends AbstractGatewayFilterFactory<Object> {
    @Resource
    EmployeeLoginGatewayFilter employeeLoginGatewayFilter;

    @Override
    public GatewayFilter apply(Object config) {
        return employeeLoginGatewayFilter;
    }

}
